<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src=" <?php echo base_url();?>js/check.js"></script>
 <link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/style_list_tecn.css"></link>

<title>Formulario Subcontrata</title>
</head>




<body onload="noMarcar(); window.parent.scrollTo(0,0)">

<span style="color: red;"><?php echo validation_errors(); ?></span>
<?php echo form_open('subcontratas'); ?>
<h4>Nombre</h4>
<input type="text" name="nombre" value="<?php echo set_value('nombre'); ?>" size="25" />
<h4>Descripcion</h4>
<input type="text" name="descripcion" value="<?php echo set_value('descripcion'); ?>" size="30" /></br>

<section id="contra">
<label></br><input type="checkbox"  name="ch" id="ch" onclick="modificarEstado()"> Seleccionar Contratista </label>

<select name="empresa" id="empresa">
<?php foreach($padres as $pd):?>
<option value="<?php echo $pd['idSubcontrata'];?>"><?= $pd['nombre']?></option>

<?php endforeach;?>
</select>
</section></br>

<section id="enviar"><button type="submit" class="btnLogin" >A&ntilde;adir</button></section>
</form>
</body>
</html>
